import Request from '@/utils/request'

export function kanbancent(params){ //看版中间
  return new Request({
    url: 'sapi/kanban/selectsj?creattime='+ params.creattime + '&endtime=' + params.endtime,
    method: 'get'
  })
}


export function echartssletct(parmas){ //获取公司表全部数据
  return new Request({
    url: 'sapi/wordex/selectst?creattime='+ parmas.creattime + '&endtime=' + parmas.endtime,
    method: 'post'
  })
}


export function echartssletctdw(parmas){ //获取单位全部数据
  return new Request({
    url: 'sapi/wordex/selectdw?creattime='+ parmas.creattime + '&endtime=' + parmas.endtime + '&dwmc=' + parmas.dwmc,
    method: 'post'
  })
}


export function tijiaoBase(params){ //公司提交
  return new Request({
    url: 'sapi/wordex/exword',
    method: 'post',
    data:params
  })
}


export function tijiaoBasedw(params){ //单位提交
  return new Request({
    url: 'sapi/wordex/exworddw',
    method: 'post',
    data:params
  })
}
